package com.yzwu.lambda;

/**
 * @author yzwu
 * @date 2022/5/28 10:18 AM
 */
public class FilterEmployeeBySalary implements MyPredicate<Employee>{
    @Override
    public boolean test(Employee t) {
        return t.getSalary()>=5000;
    }
}

